package com.quanyan.stadium.api.req;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * Created by Zheng.Ke
 * Date 2016/7/8.
 */
public class ReqDatesportSetInfo {
    @NotNull
    private Integer datesportId;
    @NotNull
    private String title;
    @NotNull
    private Date startTime;
    private String address;
    @NotNull
    @Min(2)
    @Max(999)
    private Integer playerCount;
    @NotNull
    private Byte payType;
    @NotNull
    private Byte isCheck;
    private String phone;
    @NotNull
    private Byte isPublicPhone;
    @NotNull
    private Byte isBookingGym;
    private String orderNo;

    public Integer getDatesportId() {
        return datesportId;
    }

    public void setDatesportId(Integer datesportId) {
        this.datesportId = datesportId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getPlayerCount() {
        return playerCount;
    }

    public void setPlayerCount(Integer playerCount) {
        this.playerCount = playerCount;
    }

    public Byte getPayType() {
        return payType;
    }

    public void setPayType(Byte payType) {
        this.payType = payType;
    }

    public Byte getIsCheck() {
        return isCheck;
    }

    public void setIsCheck(Byte isCheck) {
        this.isCheck = isCheck;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Byte getIsPublicPhone() {
        return isPublicPhone;
    }

    public void setIsPublicPhone(Byte isPublicPhone) {
        this.isPublicPhone = isPublicPhone;
    }

    public Byte getIsBookingGym() {
        return isBookingGym;
    }

    public void setIsBookingGym(Byte isBookingGym) {
        this.isBookingGym = isBookingGym;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }
}
